package linter.linterjava.POJO.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 知识库id与笔记id的中间记录表
 * @TableName knowledge_base
 */
@TableName(value ="knowledge_base")
@Data
public class KnowledgeBase implements Serializable {
    /**
     * 知识库id
     */
    @TableId
    private Long knowledgebaseId;

    /**
     * 笔记id
     */
    private Long noteId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}